﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Spa_Test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //xiugai.InnerHtml = "  <a   onclick='show()'>修改</a>";
        //xiugai.ServerClick += new EventHandler(xiugai_ServerClick);

    }

    void xiugai_ServerClick(object sender, EventArgs e)
    {
        AlertMessage("hahhaa");
    }
    public void AlertMessage(string message)
    {
        Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "alertCloseReload", "<script>alert(\"" + message + "\");</script>");
    }
}